package com.jxgk.application.service;

import com.jxgk.application.mapper.UserMapper;
import com.jxgk.application.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;


    public List<User> loge(String uname,String pass) {
        return userMapper.loge(uname,pass);
    }



    public List<User> finduser() {
        return userMapper.selectAll();
    }
}
